Skip to content

Extend test harness to support envconfig#2163

Draft
THardy98 wants to merge 6 commits into
mainfrom
feat/integration-tests-on-cloud
Draft

Extend test harness to support envconfig#2163
THardy98 wants to merge 6 commits into
mainfrom
feat/integration-tests-on-cloud

Conversation

@THardy98

@THardy98 THardy98 commented Jul 6, 2026

Copy link
Copy Markdown
Contributor

What was changed

Add support for TEMPORAL_TEST_ENV_CONFIG_SERVER environment variable.

This environment variable gates whether the environment configuration feature (i.e. envconfig contrib package) should be used to load connection parameters used in the test environment.

This allows for support of client/worker connections to arbitrary Temporal servers, allowing for testing against different server environments (i.e. local, staging, release, cloud, etc.).

Note: added the environment variable to gate against users already using envconfig, we don't want to use their default env vars / config file unexpectedly against the test suite.

Note: packages/test/EXTERNAL_SERVER_TESTS.md is a vibe-coded file that tracks files that do not use this change yet.

Why?

Easily support testing against arbitrary server environments.

  1. Part of: Run integration tests against cloud features#851

  2. How was this tested:
    adding a integration test...

  3. Any docs updates needed?
    Maybe?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant